From ffe076be925dda037cfd635ca59d781009436d3c Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 29 Jun 2002 18:12:54 +0000 Subject: [PATCH] (display-message-or-buffer): Fix last change. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 0b91abb8ecb..416b6934f5e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1348,7 +1348,7 @@ and only used if a buffer is displayed." 1))) ;; Don't use the echo area if the output buffer is ;; already dispayed in the selected frame. - (not (get-buffer-window buffer))) + (not (get-buffer-window (current-buffer)))) ;; Echo area (goto-char (point-max)) (when (bolp) -- 2.30.2